package ch.gibb.javamvc.site.controllers;

import ch.gibb.javamvc.ActionInterface;

/**
 * Created with IntelliJ IDEA.
 * User: Bernard
 * Date: 24.04.13
 * Time: 15:53
 * To change this template use File | Settings | File Templates.
 */
public class FirstForm implements ActionInterface {
    private String input;

    @Override
    public int openPage() {
        if(input.equals("fail"))
            return 1;
        return 0;
    }

    public String getInput() {
        return input;
    }

    public void setInput(String input) {
        this.input = input;
    }
}
